package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.ElecStatus;

@Component("elecStatusDao")
public interface ElecStatusMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ElecStatus record);

    int insertSelective(ElecStatus record);

    ElecStatus selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ElecStatus record);

    int updateByPrimaryKey(ElecStatus record);
    
    List<ElecStatus> selectByName(@Param("name")String name);
    
    List<ElecStatus> selectAll();
}